package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.TestWholeData;
import com.ruoyi.system.domain.dto.MonitorDataDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface TUnionscreeningMapper {

    List<MonitorDataDTO> getMonitorResult(@Param("testWholeData") TestWholeData testWholeData);

    List<MonitorDataDTO> getQualityMonitorYouEr(@Param("tableName") String tableName,
                                                     @Param("peopleAgeMin") Double peopleAgeMin,@Param("peopleAgeMax") Double peopleAgeMax);

    List<MonitorDataDTO> getQualityMonitorChengRen(@Param("tableName") String tableName,
                                                        @Param("peopleAgeMin") Double peopleAgeMin,@Param("peopleAgeMax") Double peopleAgeMax);

    List<MonitorDataDTO> getQualityMonitorLaoRen(@Param("tableName") String tableName,
                                                      @Param("peopleAgeMin") Double peopleAgeMin,@Param("peopleAgeMax") Double peopleAgeMax);

}
